using Aurora.TaskScheduler.Abstractions.Message;
using Gateway.Infrastructure.AutoDI;
using Gateway.IQuery.TaskScheduler.Request;

namespace Gateway.IQuery.TaskScheduler;

public interface ITaskSchedulerQuery: IDependency
{
    Task<AppTask> GetDetail(string id);

    Task<List<AppTask>> GetList();

    Task<PageResult<AppTaskLog>> GetLogPageList(TaskSchedulerLogPageRequest request);
    
    /// <summary>
    /// 获取程序内的 class dll
    /// </summary>
    /// <returns></returns>
    Task<List<string>> GetClassJobDll();
}